package com.sunny.feign.custom;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Sunny
 * @date 2020/2/24
 */
@CustomFeignClient(name = "${custom.hystrix.service}")
public interface CustomFeignService {

    @GetMapping("/hystrix/say")
    String hystrixSay(@RequestParam("msg") String msg);
}
